package com.xuecheng.media.exception;

import com.xuecheng.base.exception.XCPlusBaseException;

/**
 * @description: 文件在MinIO中不存在
 * @author 勾新杰
 * @version 1.0
 * @date 2025/2/14 21:45
 */
public class FileInMinioNotExistException extends XCPlusBaseException {

    public FileInMinioNotExistException(String message) {
        super(message);
    }

    public static void cast(){
        throw new FileInMinioNotExistException(MediaError.FILE_IN_MINIO_NOT_EXIST.getErrMessage());
    }
}
